import { ESRtsEexturedPolygon } from '.';
import { CzmESGeoExtrudedPolygonUFMS } from '../ESGeoExtrudedPolygonUFMS/CzmESGeoExtrudedPolygonUFMS';
import { ESCesiumViewer } from 'earthsdk3-cesium';

export class CzmESRtsEexturedPolygon extends CzmESGeoExtrudedPolygonUFMS<ESRtsEexturedPolygon> {
    static override readonly type = this.register<ESRtsEexturedPolygon,ESCesiumViewer>('ESCesiumViewer',ESRtsEexturedPolygon.type, this);

    constructor(sceneObject: ESRtsEexturedPolygon, czmViewer: ESCesiumViewer) {
        super(sceneObject, czmViewer);
        const viewer = czmViewer.viewer;
        if (!viewer) {
            console.warn(`viewer is undefined!`);
            return;
        }
    }
}